home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / pcomouse.arc / PCOMENU.DOC < prev   
Text File  |  1986-03-10  |  7KB  |  199 lines

  1.  
  2.  
  3.  
  4.           MOUSE SUPPORT FOR PC-OUTLINE
  5.           
  6.           
  7.           PC-Outline, with  its sophisticated popup menus, is a natural for
  8.           mouse use.    Hopefully,  this  product  will  incorporate  mouse
  9.           support in a future release.
  10.           
  11.           In the  meantime, here's  a Microsoft  Mouse menu  that  provides
  12.           simple, yet adequate support for PC-Outline.
  13.           
  14.           The package  consists of this file, PCOMENU.DOC, and PCOMENU.DEF,
  15.           the source  code required  to generate  the customized  Microsoft
  16.           Mouse menu PCOMENU.MNU.
  17.           
  18.           The Microsoft  Mouse driver  (MOUSE.SYS  or  MOUSE.COM)  must  be
  19.           installed on  the PC-Outline  diskette.    Please  refer  to  the
  20.           Microsoft Mouse  User's Guide  for instruction  on how to install
  21.           this software on your program disk.
  22.           
  23.           In addition,  the MENU.COM  file (found  on the  Microsoft  Mouse
  24.           System disk) must also be copied to the PC-Outline diskette.
  25.           
  26.           
  27.           MENU INSTALLATION
  28.           
  29.           Copy the  PCOMENU.DEF file  to the PC-Outline diskette.  With the
  30.           PC-Outline diskette  in drive  A and  the Microsoft  Mouse system
  31.           disk in drive B, type
  32.           
  33.           A>B:MAKEMENU
  34.           
  35.           Name of file to convert: PCOMENU.DEF <ENTER>
  36.           
  37.           Conversion complete
  38.           
  39.           You should then add the following line to your AUTOEXEC.BAT file:
  40.           
  41.           MENU PCOMENU
  42.           
  43.           If you  are using the MOUSE.COM driver, your AUTOEXEC file should
  44.           look something like this:
  45.           
  46.           MOUSE
  47.           MENU PCOMENU
  48.           PCO
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.           USE OF MOUSE WITH PC-OUTLINE
  71.           
  72.           Once the  software has  been installed,  using the mouse with PC-
  73.           OUTLINE is exceedingly simple.
  74.           
  75.           When PC-Outline  first comes  up, you may use either mouse button
  76.           to get past the Copyright / Shareware screen.
  77.           
  78.           The first  menu option  (open new outline, load existing outline,
  79.           etc...) may  be selected  by moving  the  mouse  up  /  down  and
  80.           pressing both  mouse buttons  at the  same  time.    If  you  are
  81.           selecting an existing outline, you may scroll through the outline
  82.           directory with  the mouse  and press both buttons at once to load
  83.           the desired outline.
  84.           
  85.           While in  normal outline  edit mode,  moving the mouse about will
  86.           scroll throught the document.
  87.           
  88.           Pressing either  mouse button  will make  the FILE  menu  appear.
  89.           While in  menu mode,  moving the  mouse up  and down  will scroll
  90.           through the  current menu's  options, and  moving left  and right
  91.           will scroll through the various PC-Outline menus.
  92.           
  93.           To select  the current  menu option,  press  both  mouse  buttons
  94.           simultaneously.
  95.           
  96.           To get back to edit mode, press either button.
  97.           
  98.           That's it.
  99.           
  100.           
  101.           THE MOUSE MENU PROGRAM
  102.           
  103.           The original  mouse menu  source code, PCOMENU.DEF, can be easily
  104.           changed.   A copy  of this  code follows.   Please  note that the
  105.           sequence numbers  shown are  for convenience  and do not exist in
  106.           the actual file.
  107.           
  108.           
  109.           1    BEGIN INS,INS,ENTR,LF,RT,UP,DN,4,8
  110.           2    INS: EXECUTE CHK1
  111.           3    ;
  112.           4    ;-----CHECK TO SEE IF WE ARE IN MENU MODE
  113.           5    ;
  114.           6    CHK1: MATCH 1,2,NORMAL,"FILE",MMODE,CHK2
  115.           7    CHK2: MATCH 1,8,NORMAL,"OUTLINE",MMODE,CHK3
  116.           8    CHK3: MATCH 1,17,NORMAL,"EDIT",MMODE,CHK4
  117.           9    CHK4: MATCH 1,23,NORMAL,"DISPLAY",MMODE,CHK5
  118.           10   CHK5: MATCH 1,32,NORMAL,"PRINT",MMODE,CHK6
  119.           11   CHK6: MATCH 1,39,NORMAL,"HIDE",MMODE,CHK7
  120.           12   CHK7: MATCH 1,45,NORMAL,"SHOW",MMODE,CHK8
  121.           13   CHK8: MATCH 1,51,NORMAL,"WINDOW",MMODE,CHK9
  122.           14   CHK9: MATCH 1,59,NORMAL,"ADVANCED",MMODE,GOMENU
  123.           15   ;
  124.           16   ;-----WE ARE IN MENU MODE, LEFT BUTTON PRESSED, TYPE AN 17  E
  125.           SCAPE
  126.           18   ;-----AND RESTORE MOUSE SENTIVITY TO EDIT MODE VALUES
  127.           19   ;
  128.           20   MMODE: EXECUTE SENS2,OUT2
  129.           21   SENS2: ASSIGN ,,,,,,,4,8
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.           22   OUT2: TYPE ESC
  137.           23   ;
  138.           24   ;-----WE ARE NOT IN MENU MODE, LEFT BUTTON PRESSED,
  139.           25   TYPE AN INSERT
  140.           26   ;-----AND CHANGE MOUSE SENSITIVITY PARAMETERS
  141.           27   ;
  142.           28   GOMENU: EXECUTE SENS1,INS1
  143.           29   SENS1: ASSIGN ,,,,,,,16,32
  144.           30   INS1: TYPE 0,82
  145.           31   ;
  146.           32   ;-----STANDARD MOVEMENT AND KEY DEFINITIONS
  147.           33   ;
  148.           34   ENTR: TYPE ENTER
  149.           35   LF: TYPE 0,75
  150.           36   RT: TYPE 0,77
  151.           37   UP: TYPE 0,72
  152.           38   DN: TYPE 0,80
  153.           
  154.           The program  is fairly  simple.  The only actual logic is used in
  155.           the CHK1-CHK9  statements, which check for the presence of one of
  156.           the menu  headers after  one of  the buttons  has been pressed to
  157.           determine if  PC-OUTLINE is in menu mode.  If it is not, the menu
  158.           will generate  an Ins keystroke to get PC-OUTLINE into menu mode.
  159.           If it  was, then  the menu  will generate an Esc keystroke to get
  160.           out of  menu mode.   Also  note that  the  mouse  horizontal  and
  161.           vertical sensitivity  parameters are  changed in menu mode.  This
  162.           is to  prevent too  rapid a vertical scroll through menu options,
  163.           and  accidental   change  of   menus  if   the  mouse   is  moved
  164.           horizontally.  Normal sensitivity is restored in edit mode.
  165.           
  166.           
  167.           PC-OUTLINE is  an outstanding  product in  itself and can be used
  168.           quite productively  without a  mouse.   If  a  mouse  is  already
  169.           available, however, this menu somewhat adds to the product's ease
  170.           of use.
  171.           
  172.           
  173.           THIS PROGRAM IS IN THE PUBLIC DOMAIN
  174.           
  175.           You may  use this  program, modify  it, and  distribute it as you
  176.           wish, but  do not  sell it.  The author makes no guarantees as to
  177.           its usefulness  or applicability.   Should  you have questions or
  178.           suggestions for  improvements, you  may contact me at the address
  179.           below:
  180.           
  181.           Dan Moore
  182.           Arvin Industries
  183.           1531 13th St
  184.           Columbus,IN 47201
  185.           (812)379-3426
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.